package com.dahuyou.tryy.too.parse.clazz.file.clazzfile.constantpool.item;

import com.dahuyou.tryy.too.parse.clazz.file.clazzfile.constantpool.ConstantPool;

public class ConstantFieldRefInfo extends ConstantMemberRefInfo {

    public ConstantFieldRefInfo(ConstantPool constantPool) {
        super(constantPool);
    }

    @Override
    public int tag() {
        return this.CONSTANT_TAG_FIELDREF;
    }

    @Override
    public void showInfo() {
        System.out.println("tag is: " + this.tag() + ", 字段符号引用信息是：" + super.nameAndDescriptor());
    }
}
